package com.ruipeng.domain.events;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import redis.clients.jedis.Jedis;

/**
 * Created by tu_pei on 2017/7/3.
 */
@Service
public class EventFactory {

//    @Autowired
//    private Jedis jedis;
//
//    @Value("${ruipeng.event.idKey}")
//    private String eventIdKey;
//
//    public Long nextEventId() {
//        return jedis.incr(eventIdKey);
//    }
}
